.wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  // height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  background-color: #f2f2f2;
  // background-image: url(../../assets/back-bg.png);
  // background-repeat: no-repeat;
  // background-size: cover;
  // background-position: bottom;
  // overflow: scroll;
  // background-color: transparent;

  .searchBar {
    width: 1200px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin: 20px;

    .logo {
      height: 38px;
      width: 160px;
    }
    .name{
      font-size: 20px;
      font-weight: 600;
    }

    .searchInput {

      input {
        border: 1px solid #0069ff
      }
    }
  }

  .navWrapper {
    width: 100%;
    height: 40px;
    overflow: hidden;
    background-color: #0099ff;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    .narMenu {
      display: flex;
      justify-content: space-between;
      align-items: center;
      z-index: 10;
      width: 1200px;
      overflow-x: auto ;
      .narItem {
        cursor: pointer;
        display: inline-block;
        text-align: center;
        vertical-align: middle;
        font-weight: bold;
        color: #ebf5e9;
        height: 40px;
        line-height: 40px;
        padding: 0 16px;
        flex-shrink: 0;
      }

      .narItemActive {
        background-color: #fff;
        color: rgb(75, 75, 75);
      }

      .narItem:hover {
        // background-color: #fff;
        color: rgb(75, 75, 75);
      }
    }
  }

  .bannerWrapper {
    width: 1200px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin: 20px;
    background-color: #fff;

    .cardWrap {
      width: 800px;

      :global {
        .ant-carousel .slick-slide {
          text-align: center;
          height: 320px;
          background: #364d79;
          overflow: hidden;
        }
        .ant-carousel .slick-slide>div{
          height: 100%;
          object-fit: cover;
          color: #fff;
        }
        .ant-carousel .slick-slide>div img{
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
      }
    }

    .recommandList {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
      padding-top: 20px;

      .recommands {
        height: 320px;
        padding: 10px 20px;

        .textWrapper {
          display: flex;
          flex-direction: row;
          justify-content: flex-start;
          align-items: center;
          cursor: pointer;

          .hotUrl {
            height: 16px;
            margin-right: 10px;
          }

          .txt {
            overflow: hidden;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            text-overflow: ellipsis;
            display: -webkit-box;
            color: #1a1a1a;
            line-height: 36px;
            font-size: 14px;
          }
        }
      }
    }
  }

  .sourceWrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 1200px;
    margin: 20px 0;
    background-color: #f2f2f2;
    margin-bottom: 100px;

    .title {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      font-weight: bold;
      font-size: 20px;
      color: #5f5f5f;
      margin-bottom: 5px;
    }

    .sourceList {
      width: 1200px;
      background-color: #f2f2f2;
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: flex-start;
      flex-wrap: wrap;
      box-sizing: border-box;

      .recordItem {
        padding: 10px 20px 10px 10px;
        width: calc(50% - 10px);
        box-sizing: border-box;
        color: #333;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        margin-bottom: 20px;

        // ant-card-head
        :global {
          .ant-card-head {
            width: 100%;
          }
        }

        .record {
          width: 540px;
          box-sizing: border-box;
          display: flex;
          flex-direction: row;
          justify-content: flex-start;
          align-items: center;
          margin-bottom: 10px;

          .testIcon {
            width: 20Px;
            height: 20px;
            margin-right: 10px;
          }

          .testTxt {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 14px;
            flex: 1;
          }

          .testTxt:hover {
            color: #0080FF
          }

          .time {
            color: #999;
            font-size: 14px;
            display: inline-block;
            margin-left: 10px;
          }
        }

      }
    }
  }

  .searchSourceList {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 1200px;
    margin: 20px 0;
    background-color: #fff;
    padding: 16px;

    .title {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      font-weight: bold;
      font-size: 20px;
      color: #5f5f5f;
      margin-bottom: 5px;
    }


    .record {
      width: 540px;
      box-sizing: border-box;
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      margin-bottom: 10px;

      .testIcon {
        width: 20Px;
        height: 20px;
        margin-right: 10px;
      }

      .testTxt {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 14px;
        flex: 1;
      }

      .testTxt:hover {
        color: #0080FF
      }

      .time {
        color: #999;
        font-size: 14px;
        display: inline-block;
        margin-left: 10px;
      }
    }
  }

  .productIntroduce {
    margin-top: 160px;
    width: 1200px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    z-index: 10;

    .textIntroduce {
      flex: 1;
      color: white;

      .loadMoreBtn {
        display: inline-block;
        padding: 10px 40px;
        background-color: transparent;
        color: #ffffff;
        border: 1px solid #ffffff;
        border-radius: 5px;
        margin-top: 20px;
      }
    }

    .picIntroduce {
      flex: 1;

      img {
        width: 400px;
        height: 400px;
      }

      .pic {
        width: 400px;
        height: 400px;
      }
    }
  }

  .footer_bg {
    width: 100%;
    background-size: cover;
    background-position: top;
    position: fixed;
    bottom: 0;
    background: #1E1E1E;
    color: rgba(255, 255, 255, .5);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    // padding: 20px 0;

    .logo {
      height: 48px;
      width: 140px;
      background: #fff;
      padding: 10px;
      margin-right: 20px;
    }

    .footer_section {
      // position: absolute;
      color: #fff;
      background-size: cover;
      background-repeat: no-repeat;
      font-size: 12px;
      margin: 0;
      text-align: center;
      color: #ffffff;
      // bottom: 10px;
      text-align: left;
      height: 32px;
      
      p {
        margin: 0;
        line-height: 32px;
        &>a{
          color:#fff;
          &:hover{
            color: #40a9ff;
          }
        }
      }
    }

  }


  .feature {
    margin-top: 300px;
    height: 400px;
    // width: 100%;
    background: #fff;
    width: 1200px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    z-index: 10;

    .teacherPic {}

    .explain {
      flex: 1;
      // color: white;

      .loadMoreBtn {
        display: inline-block;
        padding: 10px 40px;
        background-color: transparent;
        color: #212529;
        border: 1px solid #212529;
        border-radius: 5px;
        margin-top: 20px;
      }
    }
  }


}

.layer_wrapper {
  width: 100%;
  height: 100vh;
  left: 0;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.6);
  top: 0;
  bottom: 0;
  z-index: 10000;


  .hide_baby_container {
    animation: hideBabyModal 0.3s ease-out;
    animation-fill-mode: forwards;
  }

  @keyframes hideBabyModal {
    0% {
      bottom: 0;
      opacity: 1;

    }

    100% {
      bottom: -100%;
      opacity: 0;
    }
  }

  // .show_baby_container {
  //   animation: showBabyModal 0.4s ease-out;
  //   animation-fill-mode: forwards;
  // }

  // @keyframes showBabyModal {
  //   0% {
  //     // bottom: -100%;
  //     transform: scale(0);
  //     opacity: 0;
  //   }

  //   100% {
  //     // bottom: 0;
  //     transform: scale(1);
  //     opacity: 1;
  //   }
  // }

  .inner_Layer {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;


    
    .show_baby_container {
      animation: showBabyModal 0.4s ease-out;
      animation-fill-mode: none;
    }

    @keyframes showBabyModal {
      0% {
        // bottom: -100%;
        transform: scale(0);
        opacity: 0;
      }
  
      100% {
        // bottom: 0;
        transform: scale(1);
        opacity: 1;
      }
    }

    .contain_wrapper {
      // position: absolute;
      // border-radius: 30px;
      // display: flex;
      // flex-direction: column;
      // align-items: center;
      // justify-content: center;
      top: 50%;
      position: absolute;
      transform: translateY(-200px);
      // background-color: #fff;
      height: 400px;
      width: 320px;

      .envelopeUrl {
        height: 400px;
        width: 320px;
        z-index: -1;
        border-radius: 30px;
        overflow: hidden;
        position: absolute;
      }


      .closeIcon {
        position: absolute;
        width: 40Px;
        height: 40Px;
        right: -20PX;
        top: -20Px;
        cursor: pointer;
      }
      // .contain {
      //   height: 260px;
      //   width: 400px;
      //   background: #d8a71533;
      //   z-index: 100;
      //   position: absolute;
      //   border-radius: 30px;
      //   overflow: hidden;
      //   display: flex;
      //   flex-direction: column;
      //   justify-content: center;
      //   align-items: center;


      //   .commonTxt {
      //     width: 80%;
      //     border-bottom: 2Px dashed white;
      //     font-family: 'MFQingShu-Regular';
      //     line-height: 40Px;
      //     word-wrap: break-word;
      //     color: #999;
      //     word-break: break-all;
      //     font-size: 20Px;
      //     display: flex;
      //     flex-direction: row;
      //     justify-content: center;
      //     align-items: center;
      //   }
      // }
    }
  }

}